<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<link rel="stylesheet" href="/static/css/dialog.css"/>

<div class=" dialog_content clearfix ">
    <div class="title dialog_title">
        <p class="iconfont icon-password"></p>
        <span>人员分配</span>
        <i class='iconfont icon-close dialog_close' onclick='dialog_close()'></i>
    </div>
    <div class="content clearfix" style="padding-top:20px!important;padding-bottom:20px!important;">
        <div class="SHselect " style=" margin-top: 20px;margin-left: 30px;">
            <i>*</i><span style="width: 100px">分配维修人员:</span>
            <div class="SHselect-father" style="width: 380px">
                <input type="text" id="personal" readonly="readonly" placeholder="请选择人员">
                <input type="hidden">
                <p style="right: 1%!important;" class="iconfont icon-jiantouxia"></p>
                <div class="SHselect-son">
                    <ul>
                    </ul>
                </div>
            </div>
        </div>
        <div class="end" style="left:330px!important;bottom: -150px!important;">
            <button class="cancel" onclick="dialog_close()">取消</button>
            <button id="disBtn" onclick=" disPersonalBtn()" style="margin-left:20px;" class="button_cannot" disabled="disabled">确认分配
            </button>
        </div>
    </div>
</div>
<script type="text/javascript" src="/static/js/editPassword.js"></script>
<script type="text/javascript" src="/static/js/idms.js"></script>
<script type="text/javascript">
    setTimeout(function () {
        $(".SHselect-son").children("ul").children("li").click(function () {
            $(this).parent().parent().parent().children("input").first().val($(this).children("span").text());
            $(this).parent().parent().parent().children("input").next().val($(this).children("div").text());
            $(this).parent().parent().parent().children("input").addClass("SHselect-success");
            $("#disBtn").removeClass("button_cannot");
            $("#disBtn").removeAttr("disabled");
        });
    }, 500);
</script>

